package com.yuelao.yuelao_backend.dto;

import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * 用户DTO
 * 重构说明：适配新的User + UserProfile + UserAlbum表结构
 */
@Data
public class UserDTO {
    // ===== 基础信息（来自users表） =====
    private Long id;
    private String phone;
    private String nickname;
    private String gender;
    private LocalDate birthdate;
    private Integer age;
    private String avatar;
    private Boolean isVip;
    private String wechat;
    private String qq;
    
    // ===== 详细资料（来自user_profiles表） =====
    private String hometownProvince;
    private String hometownCity;
    private String residenceProvince;
    private String residenceCity;
    private Integer height;
    private String education;
    private String school;
    private String occupation;
    private String income;
    private String house;
    private String car;
    private String maritalStatus;
    private String introduction;
    private String requirements;
    private List<String> hobbies;
    private List<String> purposes;
    
    // ===== 相册（来自user_albums表） =====
    private List<String> albumUrls;
    
    // ===== 统计信息 =====
    private Integer viewCount;
    private Integer followerCount; // 粉丝数
    private Integer followingCount; // 关注数
}